package com.cictec.middleware.gps.engine;

import org.springframework.stereotype.Component;

import com.google.common.eventbus.EventBus;

@Component
public class TimeEventBus {
	
	private final static EventBus tiemEventBus = new EventBus();

	public  void post(Object event) {
		tiemEventBus.post(event);
	}

	public  void register(Object handler) {
		tiemEventBus.register(handler);
	}

	public static void unregister(Object handler) {
		tiemEventBus.unregister(handler);
	}
}
